
layui.use(['layer','laydate'], function(){

});

var appVersionConsoleGrid =new consoleGrid({table_id:"appVersion"});
appVersionConsoleGrid.init();
function appVersionTableOperate(value){
return "<button type='button' class='btn btn-xs btn-default command-edit' onclick='consoleOpenWindow(\"appVersion\",\"/console/app_version/edit?id="+value+"\",\"编辑\")'><span class='glyphicon glyphicon-pencil'></span></button> ";
}
function appVersionLoadParam(params){
params.query=appVersionQueryString();
return params;
}
function appVersionQueryString() {
var objQuery = new Object();
    objQuery.versionDescription=$('#versionDescription').val()==''?null:$('#versionDescription').val(); 
     objQuery.versionCode=$('#versionCode').val()==''?null:$('#versionCode').val(); 
     objQuery.fileMd5=$('#fileMd5').val()==''?null:$('#fileMd5').val(); 
     objQuery.fileSize=$('#fileSize').val()==''?null:$('#fileSize').val(); 
     objQuery.appid=$('#appid').val()==''?null:$('#appid').val(); 
 
var queryString = JSON.stringify(objQuery);
return queryString;
}

